<template>
	<div class="detail-choose">
		<div class="detail-choose-container" @click="addCart">
			<div>选择规格：{{name}}</div>
			<div class="iconfont icon-angle-right"></div>
		</div>
	</div>
</template>

<script>
	export default {
		name: "ChooseVersion",
		props: {
			name: {
				type: String,
				default: ''
			}
		},
		methods: {
			addCart() {
				this.$emit('click', 1)
			}
		}
	}
</script>
